home *** CD-ROM | disk | FTP | other *** search
-  Random -> Number
- Pg 27-4
-
-
- Returns a random integer with a value between 0 and 32,767 (inclusive).
-
-
- To define a range of integers use the formula:
-
- Value := Random % (End - Start +1) + Start.
-
- Start is the first number in the range, and End the last.
-
-
- The following example assigns a random integer between 10 and 30 to the Result variable:
-
- Result:=Random % 21 + 10
-
-